package org.example.shejimoshi.yuanze.kaibi;

public class JavaDiscountPrice extends JavaBook3 {
    public JavaDiscountPrice(String name, String author, Double price) {
        super(name, author, price);
    }

    public Double getJavaDiscountPrice() {
        return super.getPrice()*0.5;
    }
}

